package com.ruixue.ssoserver.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @fileName:RemoteMemberService
 * @description:
 * @author:zhz
 * @createTime:2020/12/7 11:18
 * @version:1.0.0
 */
@FeignClient("contentService")
public interface RemoteUserService {

    /**
     * 根据用户名查询对象
     *
     * @param userName
     * @return
     */
   /* @GetMapping("/user/queryByUserName")
    User queryByUserName(@RequestParam("userName") String userName);
*/
    /**
     * 添加登录日志
     *
     * @param @param loginLog 实例对象
     * @return Result
     */
/*    @PostMapping("/loginLog/insert")
    public Result insert(@RequestBody LoginLog loginLog);*/
}
